#ifndef VFILE_H
#define VFILE_H

#include <QString>
class VFile
{
public:
    VFile();


    static void clear_folder_file(QString path, QString suffixs);

private:
    static QString GBK2UTF8(const QString &inStr);
    static QString UTF82GBK(const QString &inStr);

QString read_file_text_gbk(QString path, bool translate = true);
        QString save_file_text_gbk(QString path, QString text, bool translate = true);
};

#endif // VFILE_H
